import 'package:flutter_repository/repository/functions.dart';
export 'package:flutter_repository/repository/functions.dart';

///定义可配置的方法签名
///1：以流的方式安全访问

//仓储注解
class Repository {
  final StreamWrapper streamWrapper;
  final FutureWrapper futureWrapper;
  const Repository(
      {this.streamWrapper = DefaultWrapper.customStreamWrapper,
      this.futureWrapper = DefaultWrapper.customFutureWrapper});
}

//重试注解
class Retry {
  const Retry();
}

//标记是否代理
class ProxyCall {
  const ProxyCall();
}
